load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

RULES_JVM_EXTERNAL_TAG = "2.8"
RULES_JVM_EXTERNAL_SHA = "79c9850690d7614ecdb72d68394f994fef7534b292c4867ce5e7dec0aa7bdfad"

http_archive(
    name = "rules_jvm_external",
    strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
    sha256 = RULES_JVM_EXTERNAL_SHA,
    url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)

load("@rules_jvm_external//:defs.bzl", "maven_install")

maven_install(
    artifacts = [
        "com.belerweb:pinyin4j:2.5.0",
        "org.apache.poi:poi-ooxml:3.10-FINAL",
        "org.apache.poi:poi-ooxml-schemas:3.10-FINAL",
		"org.apache.poi:poi-scratchpad:3.10-FINAL",
		"fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.xhtml:1.0.6",
		"org.springframework.boot:spring-boot-starter-parent:2.0.3.RELEASE",
		"org.springframework.boot:spring-boot-starter:2.0.3.RELEASE",
		"org.springframework.boot:spring-boot-starter-web:2.0.3.RELEASE",
		"org.springframework.boot:spring-boot-starter-websocket:2.0.3.RELEASE",
		"org.springframework.boot:spring-boot-starter-aop:2.0.3.RELEASE",
		"org.springframework.boot:spring-boot-starter-log4j:1.3.8.RELEASE",
		"org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2",
		"com.github.miemiedev:mybatis-paginator:1.2.15",
		"mysql:mysql-connector-java:5.1.34",
		"com.alibaba:druid:1.0.20",
		"org.apache.commons:commons-lang3:3.3.2",
		"org.jsoup:jsoup:1.3.7",
		"org.apache.poi:poi:3.10-FINAL",
		"net.sf.json-lib:json-lib:2.4",
		"org.codehaus.jackson:jackson-mapper-asl",
		"com.alibaba:fastjson:1.2.3",
		"com.fasterxml.jackson.core:jackson-databind:1.9.13",
		"org.apache.httpcomponents:httpclient",
		"org.quartz-scheduler:quartz",
		"org.projectlombok:lombok",
		"javax.persistence:persistence-api:1.0.2",
		"joda-time:joda-time",
		"commons-fileupload:commons-fileupload:1.3.1",
		"org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE"
		"org.freemarker:freemarker",
		"com.aliyun:aliyun-java-sdk-core:3.7.1",
		"com.aliyun:aliyun-java-sdk-dysmsapi:1.1.0",
		"com.lowagie:itext:4.2.2",
		"com.itextpdf:itext-asian:5.2.0",
		"com.itextpdf:itextpdf:5.4.3"
    ],
    repositories = [
	    "https://maven.aliyun.com/repository/public",
        "https://jcenter.bintray.com/",
        "https://repo1.maven.org/maven2",
    ],
)